<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\BalanceRecord
 *
 * @property int $id
 * @property string|null $order_num 订单号
 * @property int $user_id 用户标识
 * @property int $type 类型 0充值
 * @property float $recharge_amount 金额
 * @property int $status 状态 0待支付 1已完成
 * @property int $is_pay 是否支付 0未支付 1已支付
 * @property string|null $pay_way 支付方式 wechatpay微信支付
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord newQuery()
 * @method static \Illuminate\Database\Query\Builder|\App\BalanceRecord onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord query()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereIsPay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord wherePayWay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereRechargeAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\BalanceRecord whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\BalanceRecord withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\BalanceRecord withoutTrashed()
 * @mixin \Eloquent
 */
class BalanceRecord extends Model
{
    //
    protected $table = 'balance_record';
    use SoftDeletes;
}
